package com.example.fireassistant_server.service;

import com.example.fireassistant_server.dto.hydrant.FireHydrantAddRequest;
import com.example.fireassistant_server.dto.hydrant.FireHydrantDto;
import com.example.fireassistant_server.dto.PointSearchFilter;
import com.example.fireassistant_server.dto.hydrant.FireHydrantUpdateRequest;
import com.example.fireassistant_server.entity.FireHydrant;
import com.example.fireassistant_server.entity.User;
import org.springframework.data.domain.Page;

public interface FireHydrantService {
    FireHydrantDto addHydrant(FireHydrantAddRequest hydrantAddRequest, User user);

    Page<FireHydrantDto> search(PointSearchFilter pointSearchFilter);

    FireHydrant get(String id);
    FireHydrantDto update(String id, FireHydrantUpdateRequest fireHydrantUpdateRequest);

    void delete(String id);
}
